-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.6.3 (latest)
-
Code
-
Classes
- ShortPixelPlugin
Total Complexity |
76 |
Dependencies |
22 |
Dependents |
1 |
Total lines |
711 |
Lines of code |
426 |
Logical lines of code |
261 |
Comment lines |
129 |
Methods |
21 |
Properties |
8 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
admin_scripts() |
A |
29 |
8 |
134 |
route() |
A |
42 |
13 |
51 |
load_admin_scripts() |
A |
43 |
12 |
50 |
initHooks() |
A |
39 |
10 |
59 |
lowInit() |
S |
53 |
5 |
21 |
load_script() |
S |
59 |
5 |
15 |
load_style() |
S |
64 |
3 |
10 |
check_plugin_version() |
S |
68 |
2 |
8 |
settings() |
S |
71 |
2 |
6 |
plugin_path() |
S |
69 |
2 |
7 |
plugin_url() |
S |
69 |
2 |
7 |
getInstance() |
S |
71 |
2 |
6 |
admin_pages() |
S |
62 |
2 |
10 |
admin_styles() |
S |
61 |
1 |
11 |
get_admin_pages() |
S |
82 |
1 |
3 |
__construct() |
S |
78 |
1 |
3 |
ajaxHooks() |
S |
63 |
1 |
10 |
fileSystem() |
S |
80 |
1 |
3 |
env() |
S |
80 |
1 |
3 |
init() |
S |
71 |
1 |
6 |
admin_network_pages() |
S |
76 |
1 |
3 |